<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<meta name="robots" content="all" />
		<meta name="author" content="Tencent-CP" />
		<title>
			<{$title}>
		</title>
		<link href="__ICSS__/gralmall.css" rel="stylesheet" type="text/css" />
		<script src="__JS__/jquery-1.8.3.min.js"></script>
	</head>
    <style type="text/css">
    	.top a{
    		color: black;
    	}
    </style>
	<body>
		<div class="wrapper">
			<div class="top">
				<a href="" class="logo" target="_blank" title="道聚城">道聚城</a>
				<div style="width:220px;height: 80px;margin-left: 45%;">
					<div class="row">
						{if condition="$Request.session.user.name == ''"}
						<div class="col-md-3 col-md-offset-8">
							<a id="dl" class="btn" onclick="kai()">登录</a>
							<a href="<{:url('login/index')}>" id="dl" class="btn" target="_blank">注册</a>
						</div>
						{else}
						<div style="margin-top: 10%;">
							<a href=""><span style="background: url(__IIMG__/user.png) no-repeat;">&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
							<a href="<{:url('user/index',array('id'=>$Request.session.user.id))}>" id="add"><{$Request.session.user.name}></a>
							<script>
							var add = document.getElementById('add');
							if (add.innerHTML.length > 3) {
								add.innerHTML = add.innerHTML.substr(0,3)+'...';
							}
							</script>
							<a href="<{:url('personal/index',array('id'=>$Request.session.user.id))}>">设置</a>
							<a href="<{:url('login/out')}>">退出</a>
							<br>
							<a href="">等级:<span>
								{if condition="$Request.session.user.type == 0"}普通会员
								{elseif condition="$Request.session.user.type == 1"}VIP会员
								{else}版主
								{/if}	
							</span></a>
						</div>
							<div style="float: right;margin-top: -20%;">
							{if condition="$Request.session.user.img == ''"}
								<img src="__UIMG__/u0.png" width="40%" style="margin-top:-10%;margin-right:50%;border-radius:5px">
							{else}
								<img src="__UIMG__/<{$Request.session.user.img}>" width="66px" height="66px;" style="margin-top:-10%">
							{/if}
							</div>
						{/if}
					</div>
				</div>
			</div>
			<!--lol logo-->
			<div class="page_header">
				<div class="header">
					<ul class="header_search">
						<li>
						</li>
					</ul>
				</div>
				<div class="header_logo">
					<a href="http://daoju.qq.com/lol/" target="_blank"><img src="__IIMG__/picture/iloi.jpg" width="1000" height="76" /></a>
				</div>
			</div>
			<h1 class="hide">道具列表</h1>
			<div class="menu_box l">
				<h2 class="title_comm">
				<em>全部分类</em><a href="javascript:void(0);" class="btn_sideext r ht">展开</a>
			</h2>
				<div id="sidebar"></div>
				<!--全部菜单-->
			</div>
			<!--主体导航菜单-->
			<div class="main_nav">
				<ul class="l">
					<li>
						<a href="<{:url('index/index')}>" target="_self" link="/lol/index.shtml?ADTAG=innercop.lol.SY.sy">论坛首页</a><span class="main_nav_line"></span></li>
					<li>
						<a href="" target="_self" class="main_nav_focus" link="/lol/list/shoppinglist.shtml?ADTAG=innercop.lol.SY.shoppinglist">商品列表</a><span class="main_nav_line"></span></li>
					<li>
						<a href="<{:url('personal/gral',array('id'=>$Request.session.user.id))}>" target="_blank" link="/mall/center.shtml?flag=lol&ADTAG=innercop.lol.SY.center">个人中心</a><span class="main_nav_line"></span></li>
				</ul>
				
			</div>
			<div class="location_box">
				您现在的位置：
				<a href="<{:url('index/index')}>">论坛首页</a>&gt;
				<a href="/lol/list/shoppinglist.shtml">全部商品</a>
			</div>
			<div class="bar_left">
				<div id="good_left_nav"></div>
				<!--menu_sub_box end-->
				
				<!--热门排行-->
				<div class="bx_top clear" id="hot_rank" style="width:210px;position:relative">
					<div class="title01">
						<h2>
							最强王者<span>HOT RANKING</span>
						</h2>
					</div>
					<div class="loading_panel" style="display: none;"></div>
					
					<div id="hot_list_oh" style="min-height: 22px; display: block;">
						<div class="bx_top_big clear" style="display: block;">
							<dl>
								<dt>
									<a href="/lol/item/606.shtml" target="_blank"><img src="__IIMG__/picture/lidan.jpg" width="76" height="76" alt="放逐之刃"></a>
								</dt>
								<dd>
									<strong class="icon1">01</strong>
									<p class="fwb"><a href="/lol/item/606.shtml" target="_blank">龙瞎</a></p>
								</dd>
							</dl>
							
											
							<p class="bx_top_big_3">积分99999</p>
							<p class="bx_top_big_4">
								<span>此皮肤李丹发放<strong></strong></span>
							</p>
							
						</div>
						</div>
				
					
				</div>

			</div>
			<!-- bar_left end-->
			<div class="content_right">
				<!--人气推荐-->
				<div class="hot_box clear" id="rq_list" style="display:block">
					<div class="title01">
						<h2>
							2017最新产品<span>RECOMMENDED</span>
						</h2>
						<span class="hot_ico"></span>
					</div>
				</div>
				<script type="text/tpl" id="hot_li">

					<dl onmouseout="this.className='hidetips'" pos="${pos}" onmouseover="this.className='showtips'">
						<dt>
				
						<dd>
							<a href="/${flag}/item/${iSeqId}.shtml?ADTAG=media.free.recommend.${sPdName.toUpperCase()}&algorithm=${algorithm}" target="_blank"><strong>${sGoodsName}</strong></a>

							<div class="bx_list_t1">
								积分：<span class="t2">&nbsp;&nbsp;&nbsp;${iPrice}</span> <span class="t2 fwb">积分</span>
							</div>
							<div class="bx_list_t1">
								财付通价：<span class="t2 fwb">&nbsp;&nbsp;&nbsp;&yen;</span><span class="t2">${iPayPriceTenpayBank}</span>
							</div>

							<div class="bx_list_t2 c">
								<a href="" class="btn_a_1 l buy_now" title="立即换取">立即换取</a>
							</div>
						</dd>
					</dl>

				</script>
				<!--商品筛选-->
				<div class="clear"></div>
				<!-- 物品列表查询结果 -->
				<div id="list_wrap">
					<div class="bx_list_dl c" id="shopping_list_wrap">
						<div class="bx_list_dl c" id="shopping_list">
                           {volist name="mall" id="vo"}
                           {if condition="$vo['status'] neq 0"}
							<dl onmouseout="this.className='hidetips'" onmouseover="this.className='showtips'">
								<dt>
									<a href="" target="_blank"><img src="<{$vo.pic}>" width="76" height="76" alt="经典腥红之月礼包" /></a>
									<div class="pop_tips">
										<span class="arrow">◆</span>
										<strong><{$vo.title}></strong>
										{if condition="$vo['limit'] neq 1"}
										<p>道具期限：永久</p>
										{else}<p>道具期限：限时</p>
										{/if}
										<p><{$vo.desc}></p>
									</div>
								</dt>
								<dd>
									<a href="" target="_blank"><strong><{$vo.type}></strong></a>
									<div class="bx_list_t1">
										积分：<span class="t2"><{$vo.price}></span> <span class="t2 fwb">积分</span>
									</div>
									<div class="bx_list_t1">
										数量：<span class="t2" id="a<{$vo.id}>"><{$vo.number}></span> <span class="t2 fwb">个</span>
									
									</div>
									<div class="bx_list_t2 c">
										<a style="cursor:pointer;" seq="1500" class="btn_a_1 l buy_now" title="立即换取" onclick="exchange(<{$vo.id}>)">立即换取</a>
									</div>
									<span class=""></span>
								</dd>
							</dl>
							{/if}
                            {/volist}
									<script>
										function exchange(id){
											$(function(){
												if ($("#a"+id).html() != 0) {	
													$.ajax({
														type:'post',
														url:"<{:url('goods/exchange')}>",
														data:"id="+ <{$Request.session.user.id}> +"&goodsid="+id,
														success:function(data){
															if (data == 0) {
																$("#a"+id).html($("#a"+id).html() - 1);
																alert('购买成功,请到个人中心查看');
															}else{
																alert('对不起,您的积分不足');
															}
														}
													})
												}else{
													alert('商品数量不足');
												}
											})
										}
									</script>

						</div>
					</div>
				</div>
			</div>


			<!-- content_right end-->
			<div class="clear"></div>
			<div class="bx_qa_o ">
				<div class="bx_qa c">
					<div class="bx_qa_t1">
						<h2 class="bx_qa_title01">新手上路</h2>
						<ul class="bx_qa_ul c">
							<li>
								<a href="" class="btn_c" target="_blank" title="什么是道聚城">什么是道聚城</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="如何购买道具">如何购买</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="如何赠送道具">如何赠送</a>
							</li>
						</ul>
					</div>
					<div class="bx_qa_t1">
						<h2 class="bx_qa_title02">常见问题</h2>
						<ul class="bx_qa_ul c">
							<li>
								<a href="" class="btn_c" target="_blank" title="道具发货时间">发货时间</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="道具如何领取">如何领取</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="道具补发规则">补发规则</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="Vip价定义">Vip价定义</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="道具状态定义">道具状态定义</a>
							</li>
						</ul>
					</div>
					<div class="bx_qa_t1">
						<h2 class="bx_qa_title03">支付方式</h2>
						<ul class="bx_qa_ul c">
							<li>
								<a href="" class="btn_c" target="_blank" title="支付方式">支付方式</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="购物点支付">购物点支付</a>
							</li>
							<li>
								<a href="" class="btn_c" target="_blank" title="如何充值">如何充值</a>
							</li>
						</ul>
					</div>
					<div class="kf_box">
						<a href="http://wpa.qq.com/pa?p=1:1014828116:1" title="腾讯在线客服" target="_blank" onclick="javascript:window.open('http://b.qq.com/webc.htm?new=0&sid=1014828116&o=danisi.xin&q=7', '_blank', 'height=502, width=644,toolbar=no,scrollbars=no,menubar=no,status=no');"></a>
					</div>
				</div>
			</div>
		</div>

	</body>

</html>